package com.uam.core.entity.model;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author Administrator
 */
public class TaskTrackDetail extends TaskDetail {

	private List<TrackPoint> track = null;

	private List<TaskTrackDetail> conflictTasks = null;

	/**
	 * 路线规划原始轨迹
	 */
	private JSONArray trackInfo;


//	public List<List<TrackPoint>> getAreaPointVo() {
//		return areaPointVo;
//	}
//
//	public void setAreaPointVo(List<List<TrackPoint>> areaPointVo) {
//		this.areaPointVo = areaPointVo;
//	}

//	@ApiModelProperty(value = "区域冲突点")
//	private List< List<TrackPoint>> areaPointVo;

	@ApiModelProperty(value = "区域冲突点")
	private JSONArray areaPointVo;



	@ApiModelProperty(value = "外接矩形坐标")
	private String rectanglePoint;


	public String getRectanglePoint() {
		return rectanglePoint;
	}

	public void setRectanglePoint(String rectanglePoint) {
		this.rectanglePoint = rectanglePoint;
	}




	public JSONArray getAreaPointVo() {
		return areaPointVo;
	}

	public void setAreaPointVo(JSONArray areaPointVo) {
		this.areaPointVo = areaPointVo;
	}



	public TaskTrackDetail() {
		this(0, null, null, null, null, 0, 0, 0.00D, 0.00D, 0, null, 0.00D, 0.00D, 0.00D, 0.00D, 0L, 0.00D, null, 0,
				null, null, null);
	}

	public TaskTrackDetail(int taskId, String taskName, JSONObject startPoint, JSONObject endPoint,
						   JSONArray passPoints, int status, int mode, double distance, double cost, int aircraftId,
						   String aircraftName, double minAltitude, double maxAltitude, double maxSpeed, double maxDuration,
						   long startTime, double avgSpeed, String modelName, int authorId, String authorName, List<TrackPoint> track,
						   List<TaskTrackDetail> conflictTasks) {
		super(taskId, taskName, startPoint, endPoint, passPoints, status, mode, distance, cost, aircraftId,
				aircraftName, minAltitude, maxAltitude, maxSpeed, maxDuration, startTime, avgSpeed, modelName, authorId,
				authorName);
		this.track = track;
		this.conflictTasks = conflictTasks;
	}

	public List<TrackPoint> getTrack() {
		return track;
	}

	public void setTrack(List<TrackPoint> track) {
		this.track = track;
	}

	public List<TaskTrackDetail> getConflictTasks() {
		return conflictTasks;
	}

	public void setConflictTasks(List<TaskTrackDetail> conflictTasks) {
		this.conflictTasks = conflictTasks;
	}
	public JSONArray getTrackInfo() {
		return trackInfo;
	}

	public void setTrackInfo(JSONArray trackInfo) {
		this.trackInfo = trackInfo;
	}


}
